package com.sparrow.example_message.base.resp;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.sparrow.example_message.PacketId;
import com.sparrow.socket.anno.Packet;

import java.util.Map;

@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "推送货币信息")
@Packet(msgId = PacketId.Base.RESP_CURRENCY_INFO)
public class RespCurrencyInfoPacket {
    @Protobuf(description = "desc")
    private Map<Integer, Long> currencyMap;

    public Map<Integer, Long> getCurrencyMap() {
        return currencyMap;
    }

    public void setCurrencyMap(Map<Integer, Long> currencyMap) {
        this.currencyMap = currencyMap;
    }
}
